package meterMonitor.service;

import meterMonitor.mapper.LineRecMapper;
import meterMonitor.model.LineRecPO;
import meterMonitor.model.bo.LineRecBo;
import meterMonitor.model.vo.CallParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LineRecService {

    @Autowired
    private LineRecMapper lineRecMapper;

    public LineRecPO getTypeRec(Integer lineId, Integer maintenance) {

        return lineRecMapper.getTypeRec(lineId, maintenance);
    }

    public List<LineRecBo> getLineRecDate(CallParameter parameter) {

        return lineRecMapper.getLineRecDate(parameter);
    }
}
